package com.efruit.dao;

import java.util.List;

import com.efruit.po.Purchase;
import com.efruit.po.PurchaseId;

public interface IPurchaseDAO {
	public void save(Purchase transientInstance);

	public void delete(Purchase persistentInstance);

	public Purchase findById(PurchaseId id);

	public List findByExample(Purchase instance);

	public List findByProperty(String propertyName, Object value);

	public List findByCount(Object count);

	public List findAll();

	public Purchase merge(Purchase detachedInstance);

	public void attachDirty(Purchase instance);

	public void attachClean(Purchase instance);

}
